import { createContext } from "react";

interface FormContextProps {
  onValueChange?: (key: string, value: any) => void;
  validateRegister?: (
    name: string,
    cb: (values: any) => Promise<string>
  ) => void;
  values?: Record<string, any>;
  setValues?: (values: Record<string, any>) => void;
}

export const FormContext = createContext<FormContextProps>({});
